﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ex06
{
    class Program
    {
        static void Main(string[] args)
        {
            // "Where" is an extension method in System.Linq.Enumerable:

            (new[] {"Tom", "Dick", "Harry"}).Where(n => n.Length >= 4);

            // (Notice that the language dropdown above is now 'C# Expression' rather than 'C# Statement').

            Console.ReadKey();
        }
    }
}
